<?php

class ImagenCampo extends Eloquent {

	protected $table='campos_imagenes';
	
	public static $rules=array(
			'campo' => 'required|integer'
	);
	
	public function campo()
	{
		return $this->belongsTo('Campo');
	}
}